package com.spancer.contentcenter.test.event;

/**
 * author by: mars
 * Date: 2020/10/10 15:06
 * Description: 事件广播器
 */
public interface EventMultiCaster {

    // 广播事件
    void multicastEvent(WeatherEvent event);

    // 添加监听器
    void addListener(WeatherListener listener);

    // 移除监听
    void removeListener(WeatherListener listener);
}
